export default [
  { path: '/', redirect: '/login/index' },
  {
    path: '/login',
    component: '../layouts/UserLayout',
    routes: [
      {
        name: '登录',
        path: '/login/index',
        component: './Login/index',
      },
    ],
  },
  {
    path: '/password',
    name: '修改密码',
    component: '../layouts/BasicLayout',
    routes: [
      {
        path: '/password',
        name: '修改密码',
        component: './Base/PassWord',
      },
    ],
  },
  {
    path: '/',
    component: '../layouts/BasicLayout',
    routes: [
      {
        path: '/systemModule',
        name: '系统设置',
        routes: [
          {
            name: '部门模块',
            path: '/systemModule/warbandDepartment',
            component: './SystemModule/WarbandDepartment',
          },
          {
            name: '账号管理',
            path: '/systemModule/accountSetting',
            component: './SystemModule/AccountSetting',
          },
          {
            name: '物流配置',
            path: '/systemModule/logisticsConfiguration',
            component: './SystemModule/LogisticsConfiguration',
          },
          {
            name: '物流配置',
            path: '/systemModule/logisticsDetail',
            component: './SystemModule/LogisticsDetail',
          },
          {
            name: '物流发货',
            path: '/systemModule/logisticsExpress',
            component: './SystemModule/LogisticsConfiguration/components/address',
          },
          {
            name: '设置手机号验证码',
            path: '/systemModule/smsSetting',
            component: './SystemModule/SmsSetting',
          },
        ],
      },
      {
        path: '/weChatModule',
        name: '微信',
        routes: [
          {
            name: '微页面',
            path: '/weChatModule/wechatPage',
            component: './WeChatModule/WechatPage',
          },
        ],
      },
      {
        path: '/answeringModule',
        name: '答疑模块',
        routes: [
          {
            name: '答疑人员',
            path: '/answeringModule/answeringAccount',
            component: './AnsweringModule/AnsweringAccount',
          },
          {
            name: '答疑人员详情',
            path: '/answeringModule/answeringAccountDetail',
            component: './AnsweringModule/AnsweringAccountDetail',
          },
          {
            name: '答疑时间变更',
            path: '/answeringModule/answeringUpdateTime',
            component: './AnsweringModule/AnsweringUpdateTime',
          },
          {
            name: '齐飞升学',
            path: '/answeringModule/answeringUpgradePlan',
            component: './AnsweringModule/AnsweringUpgradePlan',
          },
          {
            name: '排班',
            path: '/answeringModule/answeringSchedule',
            component: './AnsweringModule/AnsweringSchedule',
          },
          {
            name: '教室',
            path: '/answeringModule/answeringCampusClassRoom',
            component: './AnsweringModule/AnsweringCampusClassRoom',
          },
          {
            name: '校区',
            path: '/answeringModule/answeringCampus',
            component: './AnsweringModule/AnsweringCampus',
          },
          {
            name: '科目',
            path: '/answeringModule/answeringSubject',
            component: './AnsweringModule/AnsweringSubject',
          },
          {
            name: '老师标签',
            path: '/answeringModule/answeringTeacherTag',
            component: './AnsweringModule/AnsweringTeacherTag',
          },
          {
            name: '批量排班',
            path: '/answeringModule/batchScheduling',
            component: './AnsweringModule/BatchScheduling',
          },
          {
            name: '线下答疑列表',
            path: '/answeringModule/offlineQAList',
            component: './AnsweringModule/OfflineQAList',
          },
          {
            name: '线下答疑表单',
            path: '/answeringModule/offlineDetail',
            component: './AnsweringModule/OfflineDetail',
          },

          {
            name: '科目答疑',
            path: '/answeringModule/subjectAccountDetail',
            component: './AnsweringModule/SubjectAccountDetail',
          },
          {
            name: '答疑次数',
            path: '/answeringModule/answerQaAmountSetting',
            component: './AnsweringModule/AnswerQaAmountSetting',
          },
          {
            name: '线上答疑列表',
            path: '/answeringModule/answeringMessageList',
            component: './AnsweringModule/AnsweringMessageList',
          },
          {
            name: '线上机构答疑列表',
            path: '/answeringModule/answeringMessageList',
            component: './AnsweringModule/AnsweringMessageList',
          },
          {
            name: '互助答疑详情',
            path: '/answeringModule/answeringMutual',
            component: './AnsweringModule/AnsweringMutual',
          },
          {
            name: '互助答疑',
            path: '/answeringModule/answeringMutualList',
            component: './AnsweringModule/AnsweringMutualList',
          },
          {
            name: '答疑次数',
            path: '/answeringModule/answeringnUserNumber',
            component: './AnsweringModule/AnsweringnUserNumber',
          },
          {
            name: '答疑次数',
            path: '/answeringModule/answeringUserRecord',
            component: './AnsweringModule/AnsweringUserRecord',
          },
        ],
      },
      {
        path: '/marketingModule',
        name: '营销模块',
        routes: [
          {
            name: '计划',
            path: '/marketingModule/plan',
            component: './MarketingModule/Plan',
          },
          {
            name: '创意',
            path: '/marketingModule/originality',
            component: './MarketingModule/Originality',
          },
          {
            name: '账号管理',
            path: '/marketingModule/gather',
            component: './MarketingModule/Gather',
          },
          {
            name: '素材管理',
            path: '/marketingModule/material',
            component: './MarketingModule/Material',
          },
          {
            name: '素材分类',
            path: '/marketingModule/manage',
            component: './MarketingModule/Manage',
          },

          {
            name: '新建单场直播',
            path: '/marketingModule/createDirectLive',
            component: './MarketingModule/CreateDirectLive',
          },
          {
            name: '新建直播',
            path: '/marketingModule/createLive',
            component: './MarketingModule/CreateLive',
          },
          {
            name: '新建点播',
            path: '/marketingModule/createOnDemand',
            component: './MarketingModule/CreateOnDemand',
          },
          {
            name: '新建点播视频',
            path: '/marketingModule/createDemandVideo',
            component: './MarketingModule/CreateDemandVideo',
          },
          {
            name: '创建直播课次',
            path: '/marketingModule/createLiveClass',
            component: './MarketingModule/CreateLiveClass',
          },
          {
            name: '创建面授商品',
            path: '/marketingModule/createFaceToFace',
            component: './MarketingModule/CreateFaceToFace',
          },
          {
            name: '创建秒杀商品',
            path: '/marketingModule/createSecKill',
            component: './MarketingModule/CreateSecKill',
          },
          {
            name: '秒杀商品列表',
            path: '/marketingModule/seckillList',
            component: './MarketingModule/SeckillList',
          },
          {
            name: '单场直播列表',
            path: '/marketingModule/directLive',
            component: './MarketingModule/DirectLive',
          },
          {
            name: '直播列表',
            path: '/marketingModule/liveList',
            component: './MarketingModule/LiveList',
          },
          {
            name: '点播列表',
            path: '/marketingModule/onDemandList',
            component: './MarketingModule/OnDemandList',
          },
          {
            name: '面授商品列表',
            path: '/marketingModule/faceToFaceList',
            component: './MarketingModule/FaceToFaceList',
          },
          {
            name: '点播视频列表',
            path: '/marketingModule/demandVideo',
            component: './MarketingModule/DemandVideo',
          },
          {
            name: '服务视频列表',
            path: '/marketingModule/demandServiceVideo',
            component: './MarketingModule/DemandServiceVideo',
          },

          {
            name: '直播课次',
            path: '/marketingModule/liveClassList',
            component: './MarketingModule/LiveClassList',
          },

          {
            name: '单场直播详情',
            path: '/marketingModule/directLiveDetail',
            component: './MarketingModule/DirectLive',
          },
          {
            name: '直播详情',
            path: '/marketingModule/liveDetail',
            component: './MarketingModule/LiveList',
          },
          {
            name: '点播详情',
            path: '/marketingModule/onDemandDetail',
            component: './MarketingModule/OnDemandList',
          },
          {
            name: '面授商品详情',
            path: '/marketingModule/faceToFaceDetail',
            component: './MarketingModule/FaceToFaceList',
          },
          {
            name: '点播视频详情',
            path: '/marketingModule/demandVideoDetail',
            component: './MarketingModule/DemandVideo',
          },

          {
            name: '直播课次详情',
            path: '/marketingModule/liveClassDetail',
            component: './MarketingModule/LiveClassList',
          },
          {
            name: '服务视频编辑',
            path: '/marketingModule/CreateServiceVideo',
            component: './MarketingModule/CreateServiceVideo',
          },
          {
            name: '服务视频详情',
            path: '/marketingModule/demandServiceDetail',
            component: './MarketingModule/DemandServiceVideo',
          },

          {
            name: '提现审核',
            path: '/marketingModule/withdrawalReview',
            component: './MarketingModule/WithdrawalReview',
          },
          {
            name: '提现记录',
            path: '/marketingModule/withdrawalRecords',
            component: './MarketingModule/WithdrawalRecords',
          },
          {
            name: '发放佣金',
            path: '/marketingModule/withdrawalPayed',
            component: './MarketingModule/WithdrawalPayed',
          },
          {
            name: 'wps配置',
            path: '/marketingModule/wpsForm',
            component: './MarketingModule/WpsForm/WpsList',
          },
          {
            name: '分享记录',
            path: '/marketingModule/shareRecord',
            component: './MarketingModule/ShareRecord',
          },
          {
            name: 'banner图',
            path: '/marketingModule/bannerList',
            component: './MarketingModule/BannerList',
          },
        ],
      },
      {
        path: '/commodityModule',
        name: '商品',
        routes: [
          {
            name: '商品列表',
            path: '/commodityModule/commodityList',
            component: './CommodityModule/CommodityList',
          },
          {
            name: '商品列表',
            path: '/commodityModule/commodityDetail',
            component: './CommodityModule/CommodityList',
          },
          {
            name: '商品编辑',
            path: '/commodityModule/commodityEdit',
            component: './CommodityModule/CommodityEdit',
          },
          {
            name: '商品分类',
            path: '/commodityModule/goodsMaterial',
            component: './CommodityModule/GoodsMaterial',
          },
        ],
      },
      {
        path: '/order',
        name: '订单',
        routes: [
          {
            name: '机构订单',
            path: '/order/orderList',
            component: './OrderModule/OrderList',
          },
          {
            name: '我的订单',
            path: '/order/orderMyList',
            component: './OrderModule/OrderMyList',
          },
          {
            name: '订单详情',
            path: '/order/orderDetails',
            component: './OrderModule/OrderDetails',
          },
          {
            name: '待补费订单',
            path: '/order/rechargeOrderList',
            component: './OrderModule/RechargeOrderList',
          },

          {
            name: '待审核的订单',
            path: '/order/checkOrderList',
            component: './OrderModule/CheckOrderList',
          },
          {
            name: '审核补费',
            path: '/order/toRechargeOrderList',
            component: './OrderModule/ToRechargeOrderList',
          },
          {
            name: '待补费订单',
            path: '/order/rechargeMyOrderList',
            component: './OrderModule/RechargeMyOrderList',
          },
        ],
      },
    ]
  }
];
